export  const testActivityCol =(_this)=>{
  return [
    {
      title:'测试活动名称',
      key:'testName',
    },
    {
      title:'类型',
      key:'type',
      render:(h,params)=>{
        return h('Tag',{
          props:{
            color: params.row.type === 'real' ? 'cyan' : params.row.type === 'crowd' ? 'purple' : 'gold'
          }
        }, params.row.type === 'real' ? '实网测试' : params.row.type === 'crowd' ? '众测' : '仿真对抗')
      }
    },
    {
      title:'举办单位',
      key:'companyName'
    },
    {
      title:'发现漏洞数',
      key:'findVulCount'
    },
    {
      title:'开始时间',
      key:'startTime'
    },
    {
      title:'结束时间',
      key:'endTime'
    },
    {
      title: '操作',
      slot: 'action',
      width:160,
      opList: _this.actionButtons
    }
  ]

}
